package com.apps.sannotation.constraints;


import java.lang.annotation.*;

/**
 * 对字符串类型注解设置默认值,当为null的时候执行
 */
@Deprecated
@Target({ElementType.TYPE,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface StrDef {

    String value();

    @Deprecated
    Class<?> Cla() default String.class;
}
